package com.vcredit.creditcat.manager.product.h5;

import org.springframework.beans.factory.annotation.Autowired;

import com.alibaba.dubbo.config.annotation.Service;
import com.vcredit.creditcat.api.product.h5.IRepaymentManager;
import com.vcredit.creditcat.dto.product.h5.RepaymentBillPageData;
import com.vcredit.creditcat.dto.product.h5.RepaymentDto;
import com.vcredit.creditcat.model.Cust;
import com.vcredit.creditcat.service.product.h5.RepaymentService;

@Service(protocol = { "protocol1" }, version = "1.0")
public class RepaymentManager implements IRepaymentManager{

	@Autowired
	private RepaymentService repaymentService;

	@Override
	public RepaymentDto repayment(Cust cust, Long productId, RepaymentDto param) throws Exception {
		return repaymentService.repayment(cust, productId, param);
	}

	@Override
	public RepaymentBillPageData queryRepaymentplan(Cust cust) throws Exception {
		return repaymentService.queryRepaymentplan(cust);
	}
}
